package com.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author D
 * @since 2023-03-17 05:58:22
 */
@Getter
@Setter
@TableName("t_order_item")
@Accessors(chain = true)
public class OrderItem {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("product_id")
    private Integer productId;

    @TableField("product_type_name")
    private String productTypeName;

    @TableField("product_name")
    private String productName;

    @TableField("product_price")
    private BigDecimal productPrice;

    @TableField("product_imgsrc")
    private String productImgsrc;

    @TableField("buycount")
    private Integer buycount;

    @TableField("sumprice")
    private BigDecimal sumprice;

    @TableField("created_time")
    private Date createdTime;

    @TableField("order_num")
    private String orderNum;



}
